package me.siphone.http.api;

import androidx.annotation.NonNull;
import com.hjq.http.config.IRequestApi;

public class QueryDeviceStatApi implements IRequestApi {
    @NonNull
    @Override
    public String getApi() {
        return "/prod-api/interface/getDeviceStat";
    }

    public static class Result {
        private int deviceCount;
        private int deviceFault;
        private int deviceOnline;

        public int getDeviceCount() {
            return deviceCount;
        }

        public int getDeviceFault() {
            return deviceFault;
        }

        public int getDeviceOnline() {
            return deviceOnline;
        }
    }
}
